package com.vogue.supplymall.admin.business.domain.biz;

import com.vogue.supplymall.account.domain.model.AdminUser;
import com.vogue.supplymall.common.domain.dto.admin.OrganManagementInfo;
import com.vogue.supplymall.common.domain.dto.admin.OrganSearchInfo;

import java.util.Map;

/**
 * The interface Organ management biz.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-04-27
 */
public interface OpenOrganBiz {

    /**
     * Gets open organ list.
     * 获取开通店铺list
     *
     * @param organSearchInfo the organ search info
     * @return the open organ list
     */
    Map<String, Object> getOpenOrganList(OrganSearchInfo organSearchInfo);

    /**
     * Open organ.
     * 开通集团
     *
     * @param managementInfo the management info
     * @param userInfo       the user info
     */
    void openOrgan(OrganManagementInfo managementInfo, AdminUser userInfo);

    /**
     * Check shop licence.
     */
    void checkShopLicence();
}
